<% (1..2).each do |team| %>
  <div id="team_<%=team%>" class="team_colour_<%= team %>" >
    <% (1..map.num_players).each do |players| %>
      <div class="player">
        <%= render :partial => "players/add_player", :locals=> { :match => @match, :team => team, :num => players }%>
      </div>
    <% end %>
  </div>
<% end %>